package cn.mesmile.design;

import cn.mesmile.design.adapter.api.PayGatewayAdapter;
import cn.mesmile.design.adapter.api.ProductVipOrder;
import cn.mesmile.design.factory.methodfactory.AliPayFactory;
import cn.mesmile.design.factory.methodfactory.PayFactory;

/**
 * @author zb
 * @date 2020/11/14 23:15
 * @Description:
 */
public class TestDesign {


    /*
     *  https://www.diagrams.net/
     *
     * 培训分几块
     * 业务发起方面的培训
     *
     * 招投标培训
     */

    public static void main(String[] args) {
        PayFactory aliPayFactory = new AliPayFactory();
        aliPayFactory.getPay().unifiedorder();


        /*
         * vip 发送红包
         */
        PayGatewayAdapter payGatewayAdapter = new ProductVipOrder();
        payGatewayAdapter.sendRedPack();
    }

}
